using System;
using System.Collections.Generic;
using System.Text;

namespace MM.Entities
{
    #region CHI_TIET_PYC
    /// <summary>
    /// This object represents the properties and methods of a CHI_TIET_PYC.
    /// </summary>
    public class CHI_TIET_PYC
    {
        protected int _id=0;
        protected string _maThietBi = String.Empty;
        protected string _maPhieuYeuCau = String.Empty;
        protected int _tinhTrang=0;
        protected float _soLuong=0;
        protected DateTime _ngayGiaoHang;
        protected DateTime _ngayTao;
        protected string _nguoiTao;
        protected TRANG_THAI_VTPT oTT = new TRANG_THAI_VTPT();

        #region Thong tin VTPT
        protected string _maNhomVTPT = String.Empty;
        protected string _tenVTPT = String.Empty;
        protected string _moTa = String.Empty;
        protected string _donViTinh = String.Empty;
        protected string _maNhaSanXuat = "";
        #endregion Thong tin VTPT

        protected int _STT = 0;
        protected string _thaoTac = "";
        protected string _preThaoTac = "";
        protected string _ghiChu = "";

        protected List<CHI_TIET_PDH_COMPONENT> _lstComponent = new List<CHI_TIET_PDH_COMPONENT>();

        public CHI_TIET_PYC()
        {
        }

        

        #region Public Properties
        public int MaChiTiet
        {
            get { return _id; }
            set { _id = value; }
        }

        public string MaThietBi
        {
            get { return _maThietBi; }
            set { _maThietBi = value; }
        }

        public string MaPhieuYeuCau
        {
            get { return _maPhieuYeuCau; }
            set { _maPhieuYeuCau = value; }
        }

        public int TinhTrang
        {
            get { return _tinhTrang; }
            set { _tinhTrang = value; }
        }

        public float SoLuong
        {
            get { return _soLuong; }
            set { _soLuong = value; }
        }

        public DateTime NgayGiaoHang
        {
            get { return _ngayGiaoHang; }
            set { _ngayGiaoHang = value; }
        }

        public string MaNhomVTPT
        {
            get { return _maNhomVTPT; }
            set { _maNhomVTPT = value; }
        }
        public string TenVTPT
        {
            get { return _tenVTPT; }
            set { _tenVTPT = value; }
        }
        public string MoTa
        {
            get { return _moTa; }
            set { _moTa = value; }
        }
        public string DonViTinh
        {
            get { return _donViTinh; }
            set { _donViTinh = value; }
        }

        public int STT
        {
            get { return _STT; }
            set { _STT = value; }
        }

        public DateTime NgayTao
        {
            get { return _ngayTao; }
            set { _ngayTao = value; }
        }

        public string NguoiTao
        {
            get { return _nguoiTao; }
            set { _nguoiTao = value; }
        }

        public TRANG_THAI_VTPT oTRANG_THAI_VTPT
        {
            get { return oTT; }
            set { oTT = value; }
        }

        public int MaTrangThai
        {
            get { return oTT.MaTrangThai; }
            set { oTT.MaTrangThai = value; }
        }

        public string TenTrangThai
        {
            get { return oTT.TenTrangThai; }
            set { oTT.TenTrangThai = value; }
        }

        public List<CHI_TIET_PDH_COMPONENT> lstComponent
        {
            get { return _lstComponent; }
            set { _lstComponent = value; }
        }

        public string ThaoTac
        {
            get { return _thaoTac; }
            set { _thaoTac = value; }
        }

        public string PreThaoTac
        {
            get { return _preThaoTac; }
            set { _preThaoTac = value; }
        }

        public string GhiChu
        {
            get { return _ghiChu; }
            set { _ghiChu = value; }
        }

        public string MaNhaSanXuat
        {
            get { return _maNhaSanXuat; }
            set { _maNhaSanXuat = value; }
        }

        #endregion

       
    }
    #endregion
}
